/**    
* @Title: Strategy.java
* @Package: org.vdalf.gsgz.entities
* @author vDalf 2020-09-26 11:07:43 上午11:07:43
* @Copyright © 2020 vDalf Block-Chain Foundation (In Preparation Non-Governmental Organization) All rights reserved.
*/
package org.vdalf.gsgz.entities;

import java.math.BigDecimal;

import org.vdalf.gsgz.enums.EnumActions;
import org.vdalf.gsgz.enums.EnumConditions;

/**    
* @Title: Strategy.java
* @Package: org.vdalf.gsgz.entities
* @Description: 
* @author vDalf 2020-09-26 11:07:43 上午11:07:43
*/
public class Strategy {

	private String market;
	
	private EnumConditions condition;
	
	private BigDecimal target;
	
	private boolean needNotify;
	
	private EnumActions action;
	
	private BigDecimal orderPrice;
	
	private BigDecimal orderVolume;

	public String getMarket() {
		return market;
	}

	public void setMarket(String market) {
		this.market = market;
	}

	public EnumConditions getCondition() {
		return condition;
	}

	public void setCondition(EnumConditions condition) {
		this.condition = condition;
	}

	public BigDecimal getTarget() {
		return target;
	}

	public void setTarget(BigDecimal target) {
		this.target = target;
	}

	public boolean isNeedNotify() {
		return needNotify;
	}

	public void setNeedNotify(boolean needNotify) {
		this.needNotify = needNotify;
	}

	public EnumActions getAction() {
		return action;
	}

	public void setAction(EnumActions action) {
		this.action = action;
	}

	public BigDecimal getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(BigDecimal orderPrice) {
		this.orderPrice = orderPrice;
	}

	public BigDecimal getOrderVolume() {
		return orderVolume;
	}

	public void setOrderVolume(BigDecimal orderVolume) {
		this.orderVolume = orderVolume;
	}

	@Override
	public String toString() {
		return "Strategy [condition=" + condition + ", target=" + target + ", needNotify=" + needNotify + ", action=" + action + ", orderPrice=" + orderPrice + ", orderVolume="
				+ orderVolume + "]";
	}
	
}
